package com.yupi.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;


/**
 * 模型 ConurseUser
 *
 * @author xiaohu
 * @date 2024-07-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ConurseUser {

    /**
    *
    */
    @TableField(value = "create_time")
    private Date CreateTime;

    /**
    * 唯一标识
    */
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Long Id;

    /**
    * 密码
    */
    @TableField(value = "pass_word")
    private String PassWord;

    /**
    *
    */
    @TableField(value = "update_time")
    private Date UpdateTime;

    /**
    * 邮箱
    */
    @TableField(value = "user_email")
    private String UserEmail;

    /**
    * 头像
    */
    @TableField(value = "user_head")
    private String UserHead;

    /**
    * 登录名称
    */
    @TableField(value = "user_name")
    private String UserName;

    /**
    * 宠物id
    */
    @TableField(value = "user_pet_id")
    private Long UserPetId;

    /**
    * 电话
    */
    @TableField(value = "user_phone")
    private String UserPhone;

    /**
    * 1-6 (等级)
    */
    @TableField(value = "user_rank")
    private Long UserRank;


}
